package com.oilsection.demo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
import javax.persistence.*;



@Data
@Entity
@Table(name = "kqinfo_table")
public class KqInfoTable {
    /*区域编号*/
    @Id
    private String id;

    /*区域名称*/
    private String name;

    /*区域面积*/
    private Integer area;

    /*井组数量*/
    private Integer jzNum;

    /*检测点个数*/
    private Integer jcdNum;

    /*串气库个数*/
    private Integer cqkNum;

    /*泄露库个数*/
    private Integer xlkNum;

    /*泄露库个数*/
    private Integer hkNum;

    /*库区状态*/
    private String kqState;

    /*数据最后更新时间*/
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;

    /*启动时间*/
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date startTime;



}
